<template>
  <div>
    <div class="headers">
      <div class="left">
        <slot name="left" class="txtwht"></slot>
      </div>
      <div class="inMiddle">{{ text }}</div>
      <div class="right">
        <slot name="right"></slot>
      </div>

    </div>
  </div>
</template>

<script>
export default {
  props: {
    text: {
      type: String,
      required: true,
    },
  },
  data() {
    return {};
  },

  mounted() {},
};
</script>

<style lang="less" scoped>
.headers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #39b54a;
  height: 40/375 * 100vw;
  line-height: 40/375 * 100vw;
  color: #fcfeff;
  padding: 0 10px;
}

</style>